package org.dromara.wmscloud.domain;

import org.dromara.common.tenant.core.TenantEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 物料BOM对象 base_mat_bom
 *
 * @author hou
 * @date 2025-04-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("base_mat_bom")
public class BaseMatBom extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "bom_id")
    private Long bomId;

    /**
     * 父物料编码
     */
    private String fatherMatCode;

    /**
     * 父项数量
     */
    private Long fatherMatNum;

    /**
     * 子项行项目号
     */
    private Long childNo;

    /**
     * 子项物料编码
     */
    private String childMatCode;

    /**
     * 子项数量
     */
    private Long childMatNum;

    /**
     * 是否虚拟键
     */
    private String isFictitious;

    /**
     * 删除标识
     */
    @TableLogic
    private String delFlag;


}
